package nacgraphs;

import java.awt.Color;
import java.awt.Paint;

public final class GraphVertex extends Student
{   
    public static final Paint DEFAULT_COLOR = Color.LIGHT_GRAY;
    
    private Paint color;
    
    public GraphVertex()
    {
        super();
        
        color = DEFAULT_COLOR;
    }
    
    public GraphVertex(Student student)
    {
        super(student.getRm(), student.getFriendsRms());
        
        color = DEFAULT_COLOR;
    }
    
    public Paint getColor()
    {
        return color;
    }
    
    public void setColor(Paint color)
    {
        this.color = color;
    }
}
